export default [
    {
        path: '/document',
        name: 'document',
        meta: {
            title: '文档管理',
            icon: 'copy-outlined'
        },
        redirect: '/document/list',
        component: () => import('@/components/Layout/CommonLayout.vue'),
        children: [
            {
                path: '/privacypolicy/list',
                name: 'privacypolicy-list',
                meta: {
                    title: '隐私政策',
                    KeepAlive: true
                    // icon: 'copy-outlined'
                },
                component: () => import('@/views/document/privacypolicy/list.vue'),
            },
           
            {
                path: '/serviceagreement/list',
                name: 'serviceagreement-list',
                meta: {
                    title: '服务协议',
                    KeepAlive: true
                    // icon: 'copy-outlined'
                },
                component: () => import('@/views/document/serviceagreement/list.vue'),
            },
            // {
            //     path: '/serviceagreement/edit',
            //     name: 'serviceagreement-edit',
            //     meta: {
            //         title: '编辑服务协议',
            //         toRoute: 'serviceagreement-list'
            //     },
            //     hidden: true,
            //     component: () => import('@/views/document/serviceagreement/edit.vue'),
            // },
          


        ],
    },
];